package com.yanmaohu.yulia.bean;

public final class MultisetType implements CollectionType {

    private int beginIndex;
    private int endIndex;
    private DataType dataType;

    public MultisetType(int beginIndex, int endIndex, DataType dataType) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.dataType = dataType;
    }

    @Override
    public int getBeginIndex() {
        return beginIndex;
    }

    @Override
    public int getEndIndex() {
        return endIndex;
    }

    public DataType getDataType() {
        return dataType;
    }
    
}
